import request from "../../request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type Likes } from "../../interface";

/**
 * 保存或更新 Likes 信息
 * /likes
 */
export function postLikes(input: Likes, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<boolean>>(`/likes`, input, config);
}
